package com.ruoyi.iot.mapper;

import java.util.List;
import com.ruoyi.iot.domain.FacDevicesMonitor;

/**
 * 设备类型监测Mapper接口
 * 
 * @author rww
 * @date 2024-06-19
 */
public interface FacDevicesMonitorMapper 
{
    /**
     * 查询设备类型监测
     * 
     * @param id 设备类型监测主键
     * @return 设备类型监测
     */
    public FacDevicesMonitor selectFacDevicesMonitorById(Long id);

    /**
     * 查询设备类型监测列表
     * 
     * @param facDevicesMonitor 设备类型监测
     * @return 设备类型监测集合
     */
    public List<FacDevicesMonitor> selectFacDevicesMonitorList(FacDevicesMonitor facDevicesMonitor);

    /**
     * 新增设备类型监测
     * 
     * @param facDevicesMonitor 设备类型监测
     * @return 结果
     */
    public int insertFacDevicesMonitor(FacDevicesMonitor facDevicesMonitor);

    /**
     * 修改设备类型监测
     * 
     * @param facDevicesMonitor 设备类型监测
     * @return 结果
     */
    public int updateFacDevicesMonitor(FacDevicesMonitor facDevicesMonitor);

    /**
     * 删除设备类型监测
     * 
     * @param id 设备类型监测主键
     * @return 结果
     */
    public int deleteFacDevicesMonitorById(Long id);

    /**
     * 批量删除设备类型监测
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFacDevicesMonitorByIds(Long[] ids);

    public int hasSameCode(FacDevicesMonitor facDevicesMonitor);
}
